using System.Security.AccessControl;
using PESEL.System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace MyWeb.Model;

/// <summary>
/// 
/// </summary>
public class Pizza
{
    /// <summary>
    /// 
    /// </summary>
    /// <value></value>
    public string Id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    /// <value></value>
    [Required(ErrorMessage = "不能为空!")]
    public string Name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    /// <value></value>
    public decimal? Price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    /// <value></value>
    public string Size { get; set; }
    /// <summary>
    /// 
    /// </summary>
    /// <value></value>
    public bool? IsGlutenFree { get; set; }
}
